package com.wsoft.hr.pm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 指标分组
 * </p>
 *
 * @author Z001
 * @since 2025年02月17日 15:07:36
 */
@Getter
@Setter
@TableName("hr_pm_target_group")
@Schema(name = "HrPmTargetGroupEntity", description = "指标分组")
public class HrPmTargetGroupEntity extends BaseEntity {

    @Schema(description = "分组名称")
    @TableField("name")
    private String name;

    @Schema(description = "父id")
    @TableField("p_id")
    private Long pId;

    @Schema(description = "组织id")
    @TableField("hr_org_id")
    private Long hrOrgId;

    @Schema(description = "排序")
    @TableField("sort")
    private Integer sort;

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }
}
